<?php
function myLoader($className){
	//echo 'trying to load '.$className.'</br>';
	require_once($className.'.php');
	//echo 'loaded '.$className.'</br>';
}

spl_autoload_register(
	'myLoader'
);
 